package com.walterweimod.auxiliary_attributes.item;

import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.TextComponent;
import net.minecraft.world.entity.LivingEntity;
import net.minecraft.world.food.FoodProperties;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public class MyNewItem extends Item {
    public MyNewItem(Properties tab) {
        super(tab);
    }

    @Override
    public @NotNull Component getName(@NotNull ItemStack p_41458_) {
        return new TextComponent("This is my first item");
    }
}
